package com.pmcc.core.vo;

import com.pmcc.core.config.utils.AntPageRequest;
import com.pmcc.core.dto.Menu;
import com.pmcc.core.dto.TreeMenuNode;
import com.pmcc.core.entity.enums.ModuleType;
import com.pmcc.core.entity.security.Authority;
import com.pmcc.core.entity.security.Role;
import com.pmcc.core.repository.AuthorityRepository;
import com.pmcc.core.repository.RoleRepository;
import com.pmcc.utils.ResultBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;

/**
 * Created by syk on 17/7/6.
 */
@Service
public class AuthorityVo extends Authority {

    private List<AuthorityVo> children;

    public List<AuthorityVo> getChildren() {
        return children;
    }

    public void setChildren(List<AuthorityVo> children) {
        this.children = children;
    }
}


